package com.cn.mmd.service;

import com.cn.mmd.mapper.TeacherDataMapper;
import com.cn.mmd.model.TeacherData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/8/1 0001.
 */
@Service("teacherDataLService")
public class TeacherDataLServiceImpl implements TeacherDataLService {

    @Autowired
    private TeacherDataMapper teacherDataMapper;

    @Override
    public int updateByPrimaryKeySelective(TeacherData record) {
        return teacherDataMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int insertSelective(TeacherData record) {
        return teacherDataMapper.insertSelective(record);
    }

    @Override
    public TeacherData selectByPrimaryKey(String teacherid) {
        return teacherDataMapper.selectByPrimaryKey(teacherid);
    }

    @Override
    public int deleteByPrimaryKey(String teacherid) {
        return teacherDataMapper.deleteByPrimaryKey(teacherid);
    }
}
